<template>
  <div id="app">
      <!-- navbar的模版 -->
      <!-- <div class="header">
          <slot name="header"></slot>
      </div>
      <div class="main">
           <slot name="main"></slot>
      </div>
      <div class="footer">
           <slot name="footer"></slot>
      </div> -->
      
      <!-- <slot name="default" :mess="cwj"></slot> -->
      <!-- 具名插槽 -->
      
      <slot name="a" :ccss="cwj"></slot>

      <!-- 普通插槽 -->
      <slot></slot>
      <!-- 组件标签内容的出口组件 -->
  </div>
</template>
<script>
export default {
  name: "Navbar",
  components: {},
  data() {
    return {
        cwj:"helllow wold"
    };
  },
};
</script>
<style scoped lang="less">

</style>